﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NLog;

namespace API
{
    public class Logger
    {

        public static void Log(object sender,string message)
        {
            NLog.Logger logger = LogManager.GetLogger("API");
            logger.Info(HttpContext.Current.Request.UserHostAddress + " : " + message);
        }

    }
}